import React, { useEffect } from 'react'
import {Route,Routes,Navigate} from 'react-router-dom'
// import Route from './Routes'
import { GetRoutes,useMyRoutes } from './Routes'
// import Navigator from 'react-router-dom'


//基础路由,入口文件要下载BrowserRouter或HashRouter
export default function App() {

  return (
    <div>

        <GetRoutes/>



    </div>

  )
}
